Interaction.InteractionType Property

Gets or sets which type of interaction this object corresponds to.

Parent Type: Interaction

Namespace: Microsoft.LearningComponents.DataModel

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public InteractionType? InteractionType

{ get; set; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if this LearningDataModel object cannot be written to.

ArgumentOutOfRangeException

Thrown if a value not in the InteractionType enumerator is passed.

Remarks

In SCORM 2004, this corresponds to cmi.interactions.n.type.

In SCORM 1.2, this corresponds to cmi.interactions.n.type.

Indicates the type of interaction that this instance represents and determines how the response should be interpreted.

If this property has not yet been set, null will be returned.